<script type="text/javascript">

jQuery(document).ready(function() {
	jQuery('.userwel_box').html();
	jQuery('#iul_default').clone(true).appendTo('.userwel_box');
	//jQuery('.userwel_box ul a').attr('href','#');
	jQuery('.userwel_box a').removeAttr('href');
	//jQuery('.userwel_box #m_toptenlog').unbind('click');
	jQuery('.userwel_box a').click(function(){
		var nstr=jQuery(this).attr('id');
		//alert(nstr);
		if(nstr=='m_toptenlog'){
		
			MUI.updateContent({
			element: $('mainPanel'),					
			url: 'index.php?action=toptenlog',
			title: '最新报警记录',
			onContentLoaded: function(){
				window.clearInterval(oTimer);
				oTimer=setInterval("af_toptenlog()",10000);
			}
			});
		}else if(nstr=='m_license'){
			MUI.updateContent({
			element: $('mainPanel'),					
			url: 'index.php?action=license',
			title: '授权信息',
			onContentLoaded: function(){
				window.clearInterval(oTimer);
			}
		});
		}else if(nstr=='m_mailsetting'){
			MUI.updateContent({
			element: $('mainPanel'),					
			url: 'index.php?action=mailsetting',
			title: '报警邮箱设置',
			onContentLoaded: function(){
				window.clearInterval(oTimer);
			}
		});
		}else if(nstr=='m_remailing'){
			MUI.updateContent({
			element: $('mainPanel'),					
			url: 'index.php?action=remailing',
			title: '接收邮箱设置',
			onContentLoaded: function(){
				window.clearInterval(oTimer);
			}
		});
		}else if(nstr=='m_serverlog'){
		MUI.updateContent({
			element: $('mainPanel'),					
			url: 'index.php?action=serverlog',
			title: '状态日志',
			onContentLoaded: function(){
				window.clearInterval(oTimer);
			}
		});
		}else if(nstr=='m_systeminfo'){
			MUI.updateContent({
					element: $('mainPanel'),					
					url: 'index.php?action=systeminfo',
					title: '连接状态',
			onContentLoaded: function(){
				window.clearInterval(oTimer);
			}
		});
		}
	});
});
</script>
<?php $this->_block('contents'); ?><?php $this->_endblock(); ?>